package com.inforich.app.api.controller.open;

import com.alibaba.fastjson2.JSONObject;
import com.inforich.app.api.dto.LoginDTO;
import com.inforich.app.api.service.IOpenService;
import com.inforich.common.core.domain.AjaxResult;
import com.inforich.framework.config.ServerConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description: 开放接口
 * @author: HJM
 * @date: 2022/11/4
 */
@RestController
@RequestMapping("/h5api")
public class APPOpenController {

  @Autowired
  private IOpenService openService;

  /**
   * 上传处置终端车辆进场明细
   */
  @PostMapping("/uploadVehicleApproach")
  public AjaxResult uploadVehicleApproach(@RequestBody JSONObject json) {
    return openService.uploadVehicleApproach(json);
  }

}
